package cn.tedu.egmvcboot.mapper;

import cn.tedu.egmvcboot.pojo.entity.MvcArticle;
import cn.tedu.egmvcboot.pojo.entity.MvcUser;
import cn.tedu.egmvcboot.pojo.vo.ArticleVO;
import cn.tedu.weibo.pojo.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    MvcUser selectByUsernameAndPassword(
            @Param("username") String username,@Param("password") String password);

    int insertArticle(MvcArticle article);

    ArticleVO selectArticleById(int id);
}
